package com.java.cloud.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


/**
 * 终端店主信息表
 * 
 * @author greatesky
 * @email greatesky@hotmail.com
 * @date 2019-10-15 17:59:02
 */
@ApiModel(value = "终端店主信息表")
@Table(name = "sys_terminal_manager")
@Data
@Accessors(chain = true)
public class SysTerminalManager{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 
	 */
	@Id
	@ApiModelProperty(value = "")
    private String id;
	
	/**
	 * 公司id
	 */
    @Column(name = "company_id")
	@ApiModelProperty(value = "公司id")
    private String companyId;
	
	/**
	 * 终端id
	 */
    @Column(name = "terminal_id")
	@ApiModelProperty(value = "终端id")
    private String terminalId;
	
	/**
	 * 用户id
	 */
    @Column(name = "user_id")
	@ApiModelProperty(value = "用户id")
    private String userId;
	
	/**
	 * 创建时间
	 */
    @Column(name = "crt_time")
	@ApiModelProperty(value = "创建时间")
    private Date crtTime;
	
	/**
	 * 创建人id
	 */
    @Column(name = "crt_user")
	@ApiModelProperty(value = "创建人id")
    private String crtUser;
	
	/**
	 * 创建人名称
	 */
    @Column(name = "crt_name")
	@ApiModelProperty(value = "创建人名称")
    private String crtName;
	
	/**
	 * 创建人IP
	 */
    @Column(name = "crt_host")
	@ApiModelProperty(value = "创建人IP")
    private String crtHost;
	
	/**
	 * 修改时间
	 */
    @Column(name = "upd_time")
	@ApiModelProperty(value = "修改时间")
    private Date updTime;
	
	/**
	 * 修改人id
	 */
    @Column(name = "upd_user")
	@ApiModelProperty(value = "修改人id")
    private String updUser;
	
	/**
	 * 修改人名称
	 */
    @Column(name = "upd_name")
	@ApiModelProperty(value = "修改人名称")
    private String updName;
	
	/**
	 * 修改人IP
	 */
    @Column(name = "upd_host")
	@ApiModelProperty(value = "修改人IP")
    private String updHost;
	
	/**
	 * 删除标识:0=否，1 = 是
	 */
    @Column(name = "del_flag")
	@ApiModelProperty(value = "删除标识:0=否，1 = 是")
    private Integer delFlag;
	
	/**
	 * 
	 */
    @Column(name = "sys_number")
	@ApiModelProperty(value = "")
    private String sysNumber;

	/**
	 * 终端用户名
	 */
	@Column(name = "sys_name")
	@ApiModelProperty(value = "")
	private String sysName;

	public int updTerminalManager(SysTerminalManager sysTerminalManager) {
		return 0;
	}

	/**
	 * 终端设备
	 */
	/*@Transient
	private SysTerminal sysTerminal;*/

}
